home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / scn_savr / scrsvr / banner.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-11-08  |  7.2 KB  |  354 lines

  1. ScrnSave
  2. ScrnSave
  3. Form1.
  4. Banner
  5. Creating
  6. Screen
  7. Savers
  8. Overview
  9. wanted
  10. your%
  11. screensaver-
  12. toldK
  13. person
  14. heard
  15.     Microsofty
  16. saidf
  17. screensavers
  18. wereF
  19. impossible
  20. Visual 
  21. Basic
  22. Windows
  23. easy+
  24. there
  25. somel
  26.     important
  27. things
  28. Experts
  29. straight
  30. code=
  31. Section{
  32. This.
  33. document
  34. DescriptionE
  35. Application^
  36. title
  37. regular
  38. executable
  39. renamed
  40.     extensionc
  41. Whenm
  42. making
  43. willu
  44. make4
  45. Dialog
  46. MUSTl
  47. whereW
  48. wantm
  49.     displayed@
  50. control]
  51. panel
  52. dropdown8
  53.     Arguments
  54. startsx
  55. calls
  56. argumentS
  57. wants
  58. setup
  59. uses<
  60. module
  61. calledY
  62. SCRNSAVL
  63.     statement%
  64. usedq
  65. capture
  66. Change
  67. Startupf
  68. Options-
  69. Project\
  70. Main\
  71. TellingA
  72. Saver!
  73. running
  74. waits
  75. beforec
  76. loading;
  77.     specifiedX
  78. doesnl
  79. reload
  80. After/
  81. passes
  82. again
  83. though
  84. already
  85. first
  86. thought5
  87. could|
  88. remedy
  89.     situation
  90. whetherO
  91. previous
  92. instance
  93. loaded
  94. should
  95. kills
  96.     instances
  97. just=
  98. found
  99. which
  100. tells
  101. inactive
  102. SystemParametersInfo
  103. parameters
  104. suchc
  105. active
  106. careful+
  107. sinceM
  108. changes
  109.     permanent
  110. turns
  111. backD
  112. ended
  113. ExitNice
  114. Hiding
  115. cursorC
  116. ShowCursorL
  117. hidden
  118. object
  119. process
  120. hides
  121. needs
  122.     redisplay
  123. well8
  124. Knowing
  125.     generally
  126. pressed
  127. routineU
  128. properly#    
  129. eachb
  130. these
  131. events
  132.     SaverForm{
  133. becauseT
  134. other
  135. wonS    
  136.     MouseMove
  137. message
  138. REGARDLESS!
  139. moved
  140. check
  141. somehown
  142. solution
  143. necessarily
  144.     prettiest
  145. ScrnSave
  146. declarationsm
  147. SWP_NOSIZE
  148. SWP_NOMOVE<
  149. SPI_SETSCREENSAVEACTIVE
  150. bShow
  151. SetWindowPosg
  152. Flags
  153. uAction
  154. uparam
  155. lpvParam=    
  156. fuWinIni
  157. ConfigFormJ
  158. mayE    
  159. alsoC
  160. initialization
  161. whatever
  162. does&
  163.     Form_Load5    
  164. WindowState%
  165. Form_MouseMove
  166. Oldxu    
  167. Form_Clicke    
  168. Form_MouseDown
  169. Form_KeyDown
  170. Form_KeyPress
  171. Config*
  172. pass2
  173. chosen
  174. specific
  175. might
  176. feature
  177. aboutd
  178. remembering
  179. Sources
  180. Congera
  181. James
  182. Group
  183. Electronic
  184. Journal$
  185.     Copyrightz
  186. Friendly2
  187. IssueK
  188. Januaryb
  189. February
  190. Disclaimer
  191. Distribution
  192. informationu
  193. providedQ
  194. freeT
  195. charge,
  196. freely
  197. distributed
  198. portions
  199.     elsewhere
  200. please
  201. indicate
  202. tested
  203. Professional
  204. risk/
  205. registered*
  206. trademarks
  207.     Submitted
  208. Peter<
  209. Provostb
  210. Button
  211. Shift
  212. KeyCode
  213. KeyAscii
  214. Timer1_Timer
  215. Picture1
  216. Timer1[
  217. Enabledn
  218. Interval
  219. ScaleWidth
  220. ThenPx
  221. Widthl
  222. Form_Resize
  223. Left^
  224. ScaleHeight
  225. Picture1_Clicks
  226.     Direction
  227. Riteh
  228. FRight
  229. Fleft
  230. XDirI
  231. XDirect?
  232. YDirectG
  233. Xdirec5
  234. Yinc4
  235. XincQ
  236. ifIf*
  237. BitBlt
  238. Target
  239. Source
  240. Column?
  241. SRCCOPY
  242. ScrSave
  243.     Blackness
  244. PlusVal
  245. NegVal
  246. bmWidth
  247. bmHeight
  248.     hdcMemory
  249. SelectObject
  250. hbmpOld
  251. DeleteDC
  252.     ReleaseDC
  253. hDestDC
  254. nWidth
  255. nHeight
  256. hSrcDC
  257. YSrc!
  258. dwRop
  259. hbmpMyBitmap
  260. LoadBitmap
  261. hinst
  262. GetDC9
  263. CreateCompatibleDC
  264. Sub_Main
  265. FWidthV
  266. FHeight
  267. Fbottom
  268. Fdiv#
  269. Speed
  270. Picnum
  271. ElseRow
  272. SlowE
  273. Accel
  274. Decel
  275. Decode
  276. picture
  277. position
  278. blit+
  279. Twidth
  280. Text1
  281. Swidth
  282. FontName
  283. Sfont
  284. FontSize
  285. Ssize
  286. Stext
  287.     ForeColor
  288. Scolorp
  289. Banner
  290. Caption
  291. Bfont
  292. Bsize
  293. Btext
  294. Bcolor
  295. Bwidth
  296. Banner_Click
  297. Result
  298. GetFromINIQ
  299. Variable
  300. Filename}
  301. Variablename
  302. Bforecolour
  303.     BackColor
  304. Bbackcolour
  305. Bheight
  306. Height
  307. Visible
  308. ScaelHeight
  309. Len10
  310. Label1
  311. Forecolour
  312. Backcolour
  313. Anival
  314. Remove
  315. Exit_Click
  316. working
  317. folowingX
  318. NOTE- 
  319. The program is currently set up to test from within VB
  320. To make a working SCR screensaver file do the folowing-e
  321. Remove the two Rems's from the Banner.Frm load event code.  
  322. Remove the "Load ScrnSave" instruction from the Config.Frm Close_Click code.
  323. Change the Project/Options/StartUpForm to Sub Main
  324. Move the Banner.SCR file to your Windows directory
  325. and run from Control Panel.y    
  326. ExitNice
  327. Turn the cursor back onr
  328. reset screensavert
  329. Form_Click
  330. Form_KeyDown
  331. Form_KeyPress
  332. Form_Load
  333.  Initialise vars
  334. Speed
  335. Forecolor
  336. Backcolor
  337.  Size the picture box to fit text 
  338.  Print the text
  339.  Need a Color around the pic box same as the background
  340.  color, wider than Xinc. we can then Blit without flicker
  341.  This trick applies to Bmp pics as well.
  342.  Remove Rem's for SCR file
  343.  WindowState = 2
  344.  'Maximize the screensaver
  345. Show the forms
  346.  This = ShowCursor(False) 'Hide the cursor
  347. Starting positione
  348. Speed modifyer for bitmap (font) sizee
  349. Check the boundry and change direction
  350. Smooth the animation
  351. Delay loop
  352. Form_MouseDown
  353. Form_MouseMove
  354.